package com.siki.dto.user;

import io.swagger.annotations.ApiModelProperty;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author Siki
 * @Date 2020/6/5
 */
@ApiModel("用户模块 - 用户注册DTO")
@Getter
@Setter
@NoArgsConstructor
public class UserSignUpDTO {
    @ApiModelProperty("用户名")
    String realName;

    @ApiModelProperty("账号")
    String account;

    @ApiModelProperty("密码")
    String password;

    @ApiModelProperty("再次输入")
    String againPassword;

    @ApiModelProperty("注册身份")
    @NotNull(message = "身份不能为空")
    String userRole;
}
